@extends('layouts.back_stage')
@section('content')
    <link rel="stylesheet" href="{{env('CDN_DOMAIN_NAME')}}/css/proInfos.css?v=1.0.5">
    <div class="container">
        <div class="pro-btn">
            <h3 style="float:left;">商品档案</h3>
            <a class="btn-a" href="/admin/criterion_size">标准尺码定义</a>
            <a class="btn-a capital" href="/admin/product_data">商品资料</a>
            <a class="btn-a" href="javascript:;" style="background:#27c24c;">商品类型</a>
        </div>
        <ul class="pro-ul">
            {{--商品类型--}}
            <li id="mold" class="pro-li" style="display:block;">
                {{--<div class="mold-choose">--}}
                {{--<a class="btn bt_a1 bt_a" href="javascript:;" onclick="delGen()">删除</a>--}}
                {{--</div>--}}
                <div class="genreOne">
                    {{-- 一级开始 --}}
                    {{--<div class="ones"><button type="button" class="addones" onclick="addOnes()">+</button></div>--}}
                    <table class="one_menu" border="1" cellspacing="0" cellpadding="0">
                        {{--<tr class="tb_tit"><td style="width:40px;"></td><td>类型名称</td></tr>--}}
                        <tr class="tb_tit"><td>类型名称</td></tr>
                        @if(count($category) > 0)
                            @foreach($category as $k=>$v)
                                {{--<tr class="one_tr" abc="{{ $v->id }}"><td><input type="checkbox" class='Gou' value="{{ $v->id }}"></td><td>{{ $v->category_name }}</td></tr>--}}
                                <tr class="one_tr" abc="{{ $v->id }}"><td>{{ $v->id }} {{ $v->category_name }}</td></tr>
                            @endforeach
                        @endif
                    </table>
                </div>
                <div class="genreTwo" style="display: none;">
                    {{-- 二级开始 --}}
                    {{--<div class="twos"><button type="button" class="addtwos" onclick="addTwos()">+</button></div>--}}
                    <table class="two_menu" border="1" cellspacing="0" cellpadding="0">
                        {{--<tr class="tb_tit"><td style="width:40px;"></td><td>类型名称</td></tr>--}}
                        <tr class="tb_tit"><td>类型名称</td></tr>
                    </table>
                </div>
                <div class="genreThree" style="display: none;">
                    {{-- 三级开始 --}}
                    {{--<div class="threes"><button type="button" class="addthrees" onclick="addThrees()">+</button></div>--}}
                    <table class="three_menu" border="1" cellspacing="0" cellpadding="0">
                        {{--<tr class="tb_tit"><td style="width:40px;"></td><td>类型名称</td></tr>--}}
                        <tr class="tb_tit"><td>类型名称</td></tr>
                    </table>
                </div>
            </li>
        </ul>
    </div>
    {{--遮罩层--}}
    <div class="mask" style="display:none;"></div>
    {{--一级面辅料类型弹出框--}}
    <div class="clothes_type1" style="display:none;">
        <div class="code_type_header1">
            <span>添加一级信息</span>
            <button class="code_close shut_clothes1">×</button>
        </div>
        <div class="code_cen">
            <lable>一级类型名称：</lable>
            <input class="clothes1" type="text" autocomplete="off" autocorrect="off" placeholder="请填写一级类型名称" />
        </div>
        <div class="code_bottom">
            <button class="clothes_btn1">确定</button>
        </div>
    </div>
    {{--二级面辅料类型弹出框--}}
    <div class="clothes_type2" style="display:none;">
        <div class="code_type_header2">
            <span>添加二级信息</span>
            <button class="code_close shut_clothes2">×</button>
        </div>
        <div class="code_cen">
            <lable>二级类型名称：</lable>
            <input class="clothes2" type="text" autocomplete="off" autocorrect="off" placeholder="请填写二级类型名称" />
        </div>
        <div class="code_bottom">
            <input type="hidden" class="twoHid" value="">
            <button class="clothes_btn2">确定</button>
        </div>
    </div>
    {{--三级面辅料类型弹出框--}}
    <div class="clothes_type3" style="display:none;">
        <div class="code_type_header3">
            <span>添加三级信息</span>
            <button class="code_close shut_clothes3">×</button>
        </div>
        <div class="code_cen">
            <lable>三级类型名称：</lable>
            <input class="clothes3" type="text" autocomplete="off" autocorrect="off" placeholder="请填写三级类型名称" />
        </div>
        <div class="code_bottom">
            <input type="hidden" class="threeHid" value="">
            <button class="clothes_btn3">确定</button>
        </div>
    </div>
    <script src="{{env('CDN_DOMAIN_NAME')}}/js/proInfos.js?v=1.0.2"></script>
@endsection